
import baseRequest from '../utils/requset'
import baseIndexRequest from '../utils/requset'

// 发现首页 内容
export function getFindApi (data) {
    return baseIndexRequest.baseIndexRequest('api/miniProgram/index', 'get', data)
}


// 17拼团活动列表
export function getGroupBuyingPagingQueryApi (data) {
    return baseRequest.baseRequest('api/groupBuyingProduct/pageList', 'get', data)
}
// 拼团详情 http://192.168.2.198:8083/api/groupBuyingProduct/detail/byId?id=1207758852
export function getGroupBuyingProductApi  (data) {
    return baseRequest.baseRequest('api/groupBuyingProduct/detail/byId', 'get', data)
}
//更新浏览量  浏览15s /api/groupBuyingProduct/flushBrowse
export function flushBrowseApi  (data) {
    return baseRequest.baseRequest('api/groupBuyingProduct/flushBrowse', 'get', data)
}



// // 活动列表查询
// export function getActivePagingQueryApi  (data) {
//     return baseRequest.baseRequest('api/activities/pagingQuery', 'get', data)
// }
// // 我的活动列表
// export function getMyActivitiesByUidApi  (data) {
//     return baseRequest.baseRequest('api/activities/QueryByUid', 'get', data)
// }

// // 活动详情

// export function getActivitiesDetailsByidApi  (data) {
//     return baseRequest.baseRequest('api/activities/QueryByid', 'get', data)
// }

// // 活动报名

// // /api/activities/addActivitiesRegistrations
// export function addActivitiesRegistrationsApi  (data) {
//     return baseRequest.baseRequest('api/activities/addActivitiesRegistrations', 'post', data)
// }
